Excitation of intrinsic and extrinsic luminescence by synchrotron radiation in a NaF crystal