How photography evolved from science to art