Deformations of Lie groupoids