Cucho Hernández scored twice as Real Betis claimed a 2-0 victory over Slovan Bratislava in the Champions League.