Bergdahl gets no prison time for leaving post