Staples grows profits despite soft sales