Electroweak constraints on extended models with extra dimensions