Scaling Properties of Diffusion Models For Perceptual Tasks