Preparation of geopolymer precursors by sol–gel method and their characterization