Protonic defects and water incorporation in Si and Ge-based apatite ionic conductors