Phase Diagram of the Two-dimensional 16-band d-p Model for Iron-based Superconductors