The mid-infrared luminosity function of galaxies in the European Large Area Infrared Space Observatory Survey southern fields