Many-polaron theory for superconductivity and charge-density waves in a strongly coupled electron-phonon system with quasi-two-dimensionality: An interpolation between the adiabatic limit and the inverse-adiabatic limit.