UK July deficit hits £1.8B as spending outpaces record tax take