Building Monotonicity-preserving Fuzzy Inference Models with Optimization-based Similarity Reasoning and a Monotonicity Index