Pope to undergo surgery for hernia, expected to remain in hospital