The parameterization method for invariant manifolds. I: Manifolds associated to non-resonant subspaces