Trapping effects on the frequency response of dithiolene-based planar photodetectors