Work extraction from coupled qubits in equilibrium and nonequilibrium thermal reservoirs | Synapse