Structural transitions in hard Si-based TiN coatings: the effect of bias voltage and temperature