Philathropy will support Buffalo and Detroit with $1.2 billion bequest