Design and Analysis of High-Performance and Low-Power Quaternary Latch,Quaternary D Flip-Flop and XY Flip-Flop