Charged boson stars and black holes