An efficient synthesis of (±)-pinidine