Tens of thousands of mourners have lined up outside St Peter’s Basilica in the Vatican City to pay their respects to the late Pope Francis.