Cavity formation in aluminium irradiated with a pulsating beam of 225 MeV electrons