Wales railway upgrade proposals would cost £5bn, says expert