Techniques for in utero endoscopic surgery