prove that two non zero vectors A and B are perpendicular if and only if