Synchronization of Nonidentical Coupled Phase Oscillators in the Presence of Time Delay and Noise