Structural Tuning of a Flexible and Porous Polypyrrole Film by a Template-Assisted Method for Enhanced Capacitance for Supercapacitor Applications.