The Prevent scheme needs to "rapidly" adapt to the online world "where so much radicalisation takes place", an independent review has found.