Structure, defects and properties of some refractory borides