Artinian Gorenstein algebras with linear resolutions