Anacor Pharmaceuticals signs agreement with Medicis Pharmaceutical