James Webb Telescope captures sunrise and sunset on exoplanet WASP-39 b