Multipion Bose-Einstein correlations in pp, p-Pb, and Pb-Pb collisions at energies available at the CERN Large Hadron Collider