Apple raises iPad and MacBook prices as memory chip costs surge