The equations of state of shocked iron and bridgmanite