Man gets 12 years for raping teen walking home from church