Optimal randomness certification in the quantum steering and prepare-and-measure scenarios | Publicación