US Federal Reserve Chair Jerome Powell has warned of "pain" ahead for Americans in the battle against inflation.