Bohr-Sommerfeld quantization condition for non-selfadjoint operators in dimension 2