Heat equation with a nonlinear boundary condition and uniformly local $L^r$ spaces