Transient kinematic pile bending in two-layer soil