Association of spontaneous abortion with all cause and cause specific premature mortality