A Panel Study of Fertility Preferences and Contraceptive Dynamics in the Presence of Competing Pregnancy Risks in Uganda.