Hewlett-Packard prepares to take on Apple in tablet market