The frequency of Earth's cycle of ocean tides is primarily controlled by