A monolithic 180 nm CMOS dosimeter for in vivo dosimetry medical application