World Meeting of Families ends with papal Mass