Boundary conditions for two-temperature Navier-Stokes equations for a polyatomic gas