Charge trapping by self-assembled monolayers as the origin of the threshold voltage shift in organic field-effect transistors