Deciphering inflation with gravitational waves: Cosmic microwave background polarization vs direct detection with laser interferometers