Spinorial description of SU(3) - and G 2 -manifolds