Sri Lanka beat Australia by 6 wickets