Distinct binding modes and structural changes induced by cAMP and cGMP in the GAF domain of Anabaena adenylyl cyclase, CyaB2