Man denies making threats at Harrogate hospital