Study: Greater freedom means money can buy happiness