Is ectopic pregnancy surgery dangerous and how long does it take?