Healthy brain linked to active sex life in old age