The Relationship between Magnetic Gradient and Magnetic Shear in Five Super Active Regions Producing Great Flares