Experimental study of rare charged pion decays