The University of Northumbria at Newcastle has been fined after two students fell seriously ill following a laboratory experiment.