Constraints on extensions of the standard model from precise electroweak data