James Cameron talks about the magic formula for Titanic's success