X-ray structures and luminescence properties of Co(II) and Co(III) complexes of cofacial diporphyrins