NBC: Navy sailor sentenced to 18 years in prison over espionage charges