Synthesis of 2S,5S-and 2R,5S-5-hydroxypipecolic acid via amide-methylenation of S-5-hydroxy-2-piperidone with dimethyltitanocene.