Study of defect-dipoles in an epitaxial ferroelectric thin film