An R package to encode gender based on names and dates of birth