Incorporation of rare earths into II - VI compounds during MBE growth: optical and structural studies of Sm-doped tellurides