Why is it bad luck to see a black cat?

The black car was considered in folklore to be a spy for witches or demons.