Electromechanical response of semiconducting carbon-polyimide nanocomposite thin films