Defense beats offense 39-13 in spring football game