Structural parameters affecting the kinetics of RNA hairpin formation