Deformation theory and quantization. I. Deformations of symplectic structures