Reliability and entropy production in nonequilibrium electronic memories.