Driver says he was texting seconds before train hit his truck