Police 'displayed immense bravery in the face of extreme violence' but were unprepared for summer riots, report finds