Worldsheet theories for non-geometric string backgrounds