The convective instability of a Maxwell–Cattaneo fluid in the presence of a vertical magnetic field