S&P warns UK could lose reserve currency status on hard Brexit