Dirac Quantization of Some Singular Theories