Theoretical investigations on the conformational alterations of tetraarylporphyrins: toward understanding conformational alterations resulting from adsorption onto solid surfaces