The head of the National Cyber Security Centre (NCSC) has warned that a major cyber attack on the UK before the end of the decade is likely.