Supernova neutrino detection in NOvA