Structural volume changes upon photoexcitation of porphyrins: Role of the nitrogen - Water interactions