Franklin man sentenced to 26 years for child rape