On the Wiener index of unicyclic graphs with given girth