A Sparsity-Based Model of Bounded Rationality