New layer thickness parameterization of diffusive convection in the ocean