U.S. consumer prices post biggest rise in nearly 40 years; inflation close to peaking