Effect of shallow water on the natural period of heave