Generalized Electronic Diabatic Approach to Structural Similarity and the Hammond Postulate