"Racially motivated" riots broke out in Ballymena after two teenagers were accused of attempted rape.