Use of biorthogonal functions for the modal decomposition of multimode beams