how soon can a doctor detect pregnancy by pelvic exam