Gate-tunable diode and photovoltaic effect in an organic-2D layered material p-n junction.