12 per cent rise in foreign investment in Spain