Four-dimensional simulation of the hot electroweak phase transition with the SU(2) gauge-Higgs model