Charged Nariai black holes with a dilaton