The lattice Schrödinger functional and the background field effective action