Molecular basis of viroid RNA-templated transcription