HP to be split into two companies