Thermodynamics of the Reissner–Nordström-de Sitter spacetime with quintessence