Risk of outcomes in a Spanish population with heart failure