Structure of deposited and annealed TiB2 layers