Fundamentals for the formation and structure control of thin films: Nucleation, growth, solid-state transformations