how long does it take for ibuprofen to work