Thousands of people have been queuing to pay their last respects to the late Pope Benedict XVI, whose remains are lying in state at St Peter's Basilica in the Vatican.