The subarcsecond mid-infrared view of local active galactic nuclei – I. The N- and Q-band imaging atlas