Sol–gel synthesis of Mg(OH)2 and Ca(OH)2 nanoparticles: a comparative study of their antifungal activity in partially quaternized p(DMAEMA) nanocomposite films