Having More Sex Keeps Your Mind Sharp as You Age, Study Finds