THz and mm-wave detection through silicon luminescence