Simulation of the droplet deformation and the viscosity of an emulsion of Newtonian drops in a simple shear flow