On the preparation of metalloporphyrins