Core chemistry and skeletal rearrangements of porphyrinoids and metalloporphyrinoids.