Bose–Einstein correlations in W-pair decays with an event-mixing technique