Structural and functional analysis of ICP27, a multifunctional herpesvirus protein