Negative hybrid sol–gel resist as hard etching mask for pattern transfer with dry etching