Pope Francis has joined critics of the Trump administration's policy of separating migrant families at the Mexican border, saying populism is not the answer to the world's immigration problems.