Metal-centred azaphosphatriptycene gear with a photo- and thermally driven mechanical switching function based on coordination isomerism