SOPHIE: viral outbreak investigation and transmission history reconstruction in a joint phylogenetic and network theory framework