how do you tell whether or not a compound is polar or non-polar?