The sentences signaled an intensifying campaign against independent news, even as a reporter whose case caused tensions with Germany was released after a year in custody.