Accumulators for hydropneumatic springs