Efficient Modular Adder Designs Based on Thermometer and One-Hot Coding