Genesis and bifurcations of unstable periodic orbits in a jet flow