Aussie shares gain on boost from Sydney Airport, energy and materials stocks