Parabolic problems with nonlinear boundary conditions and critical nonlinearities