Electromagnetic response to high-frequency gravitational waves having additional polarization states: distinguishing and probing tensor-mode, vector-mode and scalar-mode gravitons