Pope Francis makes first public appearance in five weeks, ahead of leaving hospital