Quantum algebras for maximal motion groups ofN-dimensional flat spaces