Energy balance of optical breakdown in water at nanosecond to femtosecond time scales