Structure preserving schemes for Fokker-Planck equations of irreversible processes