Systematic discovery of the grammar of translational inhibition by RNA hairpins