Terahertz Near-Field Imaging of Plasmonic Mode Resonances in Metamaterials