Resources hit hard as Australian market closes two percent lower