Regioselective synthesis of pyrazoles fused with heteroaliphatic amines at the [3,4-c] edges