Boundary-element analysis of planar drop deformation in confined flow. Part 1. Newtonian fluids