Navy Sailor was sentenced to 27 months in prison for spying for China and giving them military secrets