Phototransistors and Photoswitches From an Ultraclosely $\pi$-Stacked Organic Semiconductor