Phase structure and phase transition of the SU(2) Higgs model in three dimensions