Synthesis of several novel coordination complexes: ion exchange, magnetic and photocatalytic studies