Cosmological structure formation with clustering quintessence