The board shall have the power to authorize upon appeal in specific cases such variance
from the terms of this chapter as will not be contrary to the public interest, where,
owing to special conditions, a literal enforcement of the provisions of this chapter
will result in unnecessary hardship, so that the spirit of this chapter shall be observed
and substantial justice done.