Structural and electrical studies of alternating layers of porphyrins and fatty acids