Study of photoresist etching and roughness formation in electron-beam generated plasmas