Synthesis of 1H‐thieno[3,4‐c]pyrazoles, thieno[3,4‐b]furans, selenolo[3,4‐b]furans and pyrrolo[3,4‐d]thiazoles