Resident of North Ossetia sentenced to 10 years in prison for preparing terror act