Pope Francis' teaching in new encyclical called 'profound and beautiful'