Do Diffusion Models Learn Semantically Meaningful and Efficient Representations?