Norfolk and Suffolk NHS Foundation Trust has been fined £366,000 after the death of a patient on a specialist dementia ward.