Two-loop computation of the Schrödinger functional in pure SU(3) lattice gauge theory