Fermi surface and critical field of YBCO