Nonlinear effects upon collisions of optical pulses: Tunneling, blocking, and trapping