Development of CdTe pixel detector for synchrotron radiation experiments