King Charles is to undergo a corrective procedure and his public engagements will be postponed, Buckingham Palace says.