Understanding the effects of chemical reactions at the cathode–electrolyte interface in sulfide based all-solid-state batteries