Pope Francis stressed the importance of rebuilding "hearts as well as homes", as he welcomed to the Vatican several thousand people affected by Italian earthquakes.