Pope Francis has spoken out against war and called on Catholics to unite wherever they face persecution.