Magnetic reconnection and Kelvin–Helmholtz instabilities at the Earth’s magnetopause