Synthesis and biological evaluation of N-hydroxyphenylacrylamides and N-hydroxypyridin-2-ylacrylamides as novel histone deacetylase inhibitors.