how to choose the capacity of a water heater