Arabian nights was originally based upon what Persian work