Optimizing common-rail injection by optical diagnostics in a transparent production type diesel engine