Preparation of water-durable humidity sensor by attachment of polyelectrolyte membrane to electrode substrate by photochemical crosslinking reaction