Pope ends Mediterranean trip defending refugee rights