Specialising neural network potentials for accurate properties and application to the mechanical response of titanium