Phase-change thin films by