Clouds on hot Jupiters: implications for transit spectroscopy