Design of a molecular clock with RNA-mediated regulation