Dharun Ravi to be sentenced for hate crime