Lewis Hamilton and George Russell had a Q3 to forget, with both Mercedes drivers going into the safety barriers ahead of Saturday's Sprint.