Dollar climbs as inflation builds case for higher rates