Piezoelectric response of thin films determined by charge integration technique : Substrate bending effects