Micro and micro membrane reactors for advanced applications in chemical energy conversion