Boundary effects in quantum field theory