How to increment and decrement numeric variables in bash