Novel CMOS Devices for High Energy Physics and Medical Applications