How did nineteenth-century painters respond to the intense competition that arose from the development of the hugely popular camera?