NHS trust is fined £1.3m over deaths of two patients linked to safety failings