Theory of Transport Coefficients. I. General Theory and Electrical Conductivity of Electron‐Phonon System