Site-selection spectroscopy of magnesium and cadmium tetrabenzoporphines in n-octane