US consulate in Sydney attacked with hammer