Deformation theory and quantization