Detection of sexually transmitted diseases and high-risk human papillomavirus (HPV)