Self-consistent calculation of the flux-flow conductivity in diffusive superconductors