National home prices recorded their biggest monthly decline since 2022, with Sydney and Melbourne leading the falls.