Electroweak measurements and the top quark