GLODS: Global and Local Optimization using Direct Search