Medical Examiner: Student pilot had cocaine, ecstasy in system at time of fatal crash