Effect of instrumental polarization with a half-wave plate on the B-mode signal: prediction and correction | Synapse