Regioselective synthesis of 2-chloro-3-pyridinecarboxylates