Canonical transformations and quantization of singular Lagrangian systems