Nanoscale metal–semiconductor–metal photodetectors with subpicosecond response time fabricated using electron beam lithography