Design, characterization and application of an erbium-doped fiber laser for the study of cancer cells