Birkhoff normal form for some nonlinear PDEs