Storms thump Sydney, northern NSW