What are two ways a catalyst affects a chemical reaction