Ensuring dignity of workers means guaranteeing their safety, pope says