Man sentenced to 10 years in prison for attack on former Japanese premier