The nature and role of trap states in a dendrimer-based organic field-effect transistor explosive sensor