Diastereoselective heterogeneous catalytic hydrogenation of N-heterocycles