What are amphoteric species in acids and bases?