Self-assembled structures of a semi-rigid polyanion in aqueous solutions and hydrogels