Sexual orientation differences in pregnancy and abortion across the lifecourse