Edge-engineered self-assembled hierarchical plasmonic SERS templates