Researchers have found a simple, environmentally friendly way to make a more effective form of common painkiller ibuprofen.