The internal electric field originating from the mismatch effect and its influence on ferroelectric thin film properties