Measurement of green transition and its driving factors: Evidence from China