Sensitivity of SNO+ to supernova neutrinos