Australia keep faint Rugby World Cup knock-out hopes alive with unconvincing win over Portugal