San Francisco plans to erase thousands of marijuana convictions