A kinematic model for deformation of the lithosphere at subduction zones