Domain epitaxial growth of TiN/Si(001), TiN/GaAs(001), and Si/TiN/Si(001) heterostructures by laser physical vapor deposition: Theory and experiment