Enzymatic formation of inosine 3',5'-monophosphate and of 2'-deoxyguanosine 3',5'-monophosphate. Inosinate and deoxyguanylate cyclase activity.