Acoustic and optical phonon assisted formation of biexcitons