Time Warner to spin off Time Inc. magazines