Search for the CP-violating strong decays η → π + π − and η ' (958)→π + π −