Statistical modelling of citation networks, research influence and journal prestige