Optimal catalyst profiles for a two-step reaction sequence in a packed bed