Hong Kong police arrested nearly 400 protesters as a largely peaceful march on New Year's Day turned chaotic.