Evaluation of the effective radiobiological dose of carbon beams with the lem model