On finite groups with dihedral Sylow 2-subgroups