Santa Monica police chief to retire under criticism of response to racial unrest