Development of radiation hard CMOS active pixel sensors for HL-LHC