Electric water heaters and thermostat