Optical line emission associated with the radio galaxy 4C 26.42 in the cluster of galaxies Abell 1795