Topology optimization of surface-enhanced Raman scattering substrates