Approaching optimum COP by refrigerant charge management in transcritical CO2 heat pump water heater