Online learning with kernel losses