Physics of trap assisted photomultiplication in vertical organic photoresistors