Resistor: an algorithm for predicting resistance mutations using Pareto optimization over multistate protein design and mutational signatures