Machine learning-aided atomic structure identification of interfacial ionic hydrates from AFM images