Optimizing layout of obstacles for enhanced mixing in microchannels