How can ovarian cyst affect pregnancy?