What characteristics do acids and bases have in common?