Rearrangement of N-substituted porphyrins. Preparation and structure of homoporphyrins