Quantization of N=1,2 superparticle with irreducible constraints