A structural analysis of the physical properties of bismuth and lead based glasses