Functional dipyrrins for a multi- purpose task: chemical sensing and energy transfer investigations