Apple profit slips 18%, but investors cheer dividend increase