Stationary and travelling crossflow vortices in three-dimensional boundary layers: nonlinear interactions within a common critical layer