The structure of bismuth-silicate and bismuth-germanate glasses: a molecular dynamics study