Optimization of a biosensor based on a piezoelectric polymer film