Maurer-Cartan equation in dgla's and deformation theory