determination calcium and magnesium in plant methods