Tunable self-action of light in optical rectification