Preparation of magnesium, nitrogen-codoped carbon quantum dots from lignin with bright green fluorescence and sensitive pH response