CMOS monolithic active pixel sensors for high energy physics