EU court upholds ECB bond-buying program