Surface structures of layered compounds treated with alkali-metal hydroxide solutions studied by scanning tunneling microscopy