'Valencia won by playing ugly'