Strategies for identifying pregnancies in the automated medical records of the General Practice Research Database