Search for CP violation in D+ → φπ+ and D+s→ K0sπ+ decays