Solvent-dependent conformational switching of the aromatic N-methyl amides depending upon the acceptor properties of solvents