Unifying theory of compensation techniques for intrachannel nonlinear effects