DNA variants that are bad for health may also make you stupid