Apple raises Mac and iPad prices up to $300 as memory costs quadruple