Spectral mimetic least-squares method for div-curl systems