Structure of the black beetle virus genome and its functional implications