EU may approve Polish, Hungarian spending plans - with conditions - officials