Wiener polarity index of quasi-tree molecular structures