Impact of a Liquid Drop on a Granular Medium: inertia, viscosity and surface tension effects on the drop deformation