Time decay for the nonlinear beam equation