Formation of thin films by shock wave deposition method