Modeling of charge injection and transport in organic semiconductors with applications to conducting atomic force microscopy