Three-dimensional strain engineering in epitaxial vertically aligned nanocomposite thin films with tunable magnetotransport properties