Quasi-periodic solutions of PDEs