Accurate triplet phase determination in non-perfect crystals--a general phasing procedure.