Characterisation of charge carrier defects in high-dielectric-metal-gate and thin film transistor devices