Donor–acceptor type A2B2 porphyrins: synthesis, energy transfer, computational and electrochemical studies