A one-dimensional model for the parameterization of deep convection in the ocean