Reconstruction of an object from its symmetry-averaged diffraction pattern