The effect of medical versus surgical treatment of spontaneous miscarriage on subsequent in vitro fertilization cycles