Fiber-optic metal ion sensor based on thin-core fiber modal interferometer with nanocoating self-assembled via hydrogen bonding