Solidarity is God’s plan, pope says in Madagascar