Reproducible, rugged, and inexpensive photocathode x-ray diode.