Transient-current measurement of the trap charge density at interfaces of a thin-film metal∕ferroelectric∕metal structure