Charge-based detection of small molecules and single proteins