Energy transfer dynamics in molecular layers of porphyrin derivates