Pope Francis has removed two cardinals who have been hit by scandals from his group of close advisers, the Vatican said on Wednesday.