A review on piezo- and pyroelectric responses of flexible nano- and micropatterned polymer surfaces for biomedical sensing and energy harvesting applications