Distribution of relaxation times of relaxors: comparison with dipolar glasses