Pulsed and unpulsed light from the Vela and Crab pulsars