How reasoning affects taste in art