Free-electron laser induced processes in thin molecular ice