Detailed balance and H-theorems for dissipative particle dynamics