Are the carriers of diffuse interstellar bands and extended red emission the same?