Efficient Algorithms for Robust Pattern Mining on Structured Objects with Applications to Structure-Based Drug Design