Boston bomber's friend sentenced to time served