California and other states legalize pot