Reaction selectivity in heterogeneous catalysis