Treatment of recurrent abortion and detection of causes