Single-bunch and multibunch electron beam generation for FEL experiments with the 38 MeV L-band linear accelerator at ISIR