A retired police sergeant and constable who worked for West Yorkshire Police have been charged with historic child sex offences.