Cooperative effects of Coulomb and electron-phonon interactions in the two-dimensional 16-band d-p model for iron-based superconductors