Influence of charged defects on the dielectric response of incipient ferroelectrics