The Wiener polarity index of benzenoid systems and nanotubes