Theoretical study of the interaction of a single water molecule with platinum(111) and platinum(100) clusters: influence of the applied potential