HP buying Samsung Electronics' printer business for $1.05 billion