Stereoselectivity in the synthesis of 2,5-disubstituted pyrrolidines