The pope has arrived home to the Vatican after spending five weeks in hospital battling a life-threatening bout of pneumonia.