Batch effects in population genomic studies with low-coverage whole genome sequencing data: causes, detection, and mitigation