Templated silver nanocube arrays for single-molecule SERS detection