Vortex formation from a cylinder in shallow water