Linear and dendritic macromolecules modified with Porphyrin and Metalloporphyrins: synthesis, characterisation and photoresponsive studies