Amine-terminated nanoparticle films: pattern deposition by a simple nanostencilling technique and stability studies under X-ray irradiation.