Entropic elasticity at the sol-gel transition