The methyl cycle is a conserved regulator of biological clocks