Theoretical study of a reversible reaction followed by a chemical reaction in thin layer linear potential sweep voltammetry