Soft X-ray excitation of luminescence in wide bandgap crystals doped with rare-earth ions