M5 to be closed for ‘several hours’ after serious crashes