Thermal decomposition of copper nitride thin films and dots formation by electron beam writing