Simulating the electroweak phase transition in the SU (2) Higgs model