Mock theta functions and representation theory of affine Lie superalgebras and superconformal algebras