Mechanistic study on elimination reactions over solid acid and base catalysts