Electron correlation in tetrapyrroles. Ab initio calculations on porphyrin and the tautomers of chlorin