The periodic wave solutions for the generalized Nizhnik-Novikov-Veselov equation