Water-Mediated Selective Synthesis of Pyrazolo[1,5-a]quinazolin-5(4H)-ones and [1,2,4]Triazolo[1,5-a]quinazolin-5(4H)-one via Copper-Catalyzed Cascade Reactions