On the Feature Learning in Diffusion Models