A NLTE line formation for neutral and singly-ionised titanium in model atmospheres of the reference A-K stars