It’s not sex that makes you healthier and happier—it’s what you do before and after