Solid acids and bases