Relating the electroweak scale to an extra dimension: Constraints from electroweak precision tests