What was the main purpose of the civil rights act of 1964?.