Pyroelectric and piezoelectric effects in single crystals of YBa2Cu3O7-δ