Thermodynamics of Information Processing in Small Systems