Stanley Works to close three New England plants