Preparation of optically pure esomeprazole and its related salt