Preparation of hydrosols or aqueous dispersions