Genetic variation and RNA structure regulate microRNA biogenesis