Surface states associated with acid sites on solids