Polymer guided synthesis of Ni(OH)2 with hierarchical structure and their application as the precursor for sensing materials