Price regulation and generic competition in the pharmaceutical market