A man who murdered a 14-year-old boy with a samurai sword as he walked to school in east London has been sentenced to life in prison.