Hamiltonian and long cycles in bipartite graphs with connectivity