Stable cross-linked amphiphilic polymers from a one-pot reaction for application in humidity sensors