Density functional theory study of the electronic absorption spectrum of Mg-porphyrin and Mg-etioporphyrin-I