The electrochemistry of a glass surface and its application to bioactive glass in solution