12C/13C isotopic ratios in red-giant stars of the open cluster NGC 6791