Ashes finale ends in thrilling draw