Excitonic insulator state in the two-orbital Hubbard model: Variational cluster approach