Thousands arrested for weed before California legalization apply to have sentences, convictions reduced