Frontiers of sex: ‘Friends with benefits’ can evolve into long-term pairings, says study