Generalized evolution equations for nonlinear surface gravity waves over two-dimensional topography