Travelling-wave photodetectors