Electrically Erasable Metal–Oxide–Semiconductor Dosimeters