Nonrelativistic strings and limits of the AdS/CFT correspondence