Polarization-selective modulation of supercavity resonances originating from bound states in the continuum