Analysis of a dinitro-based molecular device