Robust half-metallicity in transition metal tribromide nanowires.