Phase diagram of the Hubbard model on the anisotropic triangular lattice