Targeting subsidies through output-based aid