Processes affecting genetic variation in species