Corotating and irrotational binary black holes in quasicircular orbits