Economic preferences and cognitive abilities among teenagers in Spain