Quantum derivation of the excess noise factor in lasers with non-orthogonal eigenmodes