Dharun Ravi sentenced to jail