Genome-wide discovery of maternal effect variants