Sensor developement for the CMS pixel detector