Charge collection and radiation hardness of a SOI microdosimeter for medical and space applications.