Imaging laser-wakefield-accelerated electrons using miniature magnetic quadrupole lenses