Add units to equals() and hashCode() in Quantity