Sensing electric fields using single diamond spins