Hundreds of thousands at risk as Australian floods spread to Sydney