Two companies will close, lay off employees