Second-best redistribution through public investment: a characterization, an empirical test and an application to the case of Spain | Publicación