Works of mercy are best way to invest what God gave you, pope says