Anisotropic giant magnetoresistance and Fermi surface topology in the layered compound YbBi2