can doctors tell if you have had sex