The short pulse equation by a Riemann–Hilbert approach