Mean-field theory for ferroelectricity in Ca 3 CoMnO 6