Investigation of crack patterns and cyclic performance of Ti–Si nanocomposite thin film anodes for lithium ion batteries