Marriage is more beneficial to men than women, study finds