Characterizing Photorealism and Artifacts in Diffusion Model-Generated Images