3D-aware Image Generation using 2D Diffusion Models