Pope out of danger but to remain in hospital