Structure of ternatin D1, an acylated anthocyanin from flowers