Modelling the cosmological co-evolution of supermassive black holes and galaxies - II. The clustering of quasars and their dark environment