The Pope spent a peaceful night in hospital after having surgery to treat lung cancer, the Vatican said.