UK came ‘within days’ of Sydney-style terror attack: top policeman