how to detect ectopic pregnancy early