Radiation damage in ferroelectric thin-film memories