Causal properties of Kaluza-Klein metrics