New compactifications of ten and eleven dimensional supergravity on manifolds which are not direct products