When do a majority of miscarriages occur?