Transmission electron microscopy investigation of the damage produced in individual displacement cascades in GaAs and GaP