Merck, Amgen's falling profits still beat Street