Shadow education secretary apologises after calling Covid-19 a ‘good crisis’