Entropy production and fluctuation theorems on complex networks.