Lenovo to buy stake in Fujitsu PC unit for up to $348m