Comparing our income with others can make us unhappy, study claims