Gravar-mail: Inferring sex-specific demographic history from SNP data