Numerical Simulation Of Stratified Flows And Droplet Deformation In 2D Shear Flow Of Newtonian And Viscoelastic Fluids