Light- and bias-induced effects in pentacene-based thin film phototransistors with a photocurable polymer dielectric