Canard explosion in chemical and optical systems