Electronic and structural reconstructions of the polar (111) SrTiO3 surface