On the nature of the electroweak phase transition