Thief smashes window of 400-year-old York building to steal bottles of gin