who are the characters in dreamgirls based on