Australia backs Palestine UN resolution, rejects Hamas