Electrical properties of Si:Er/Si layers grown by sublimation molecular-beam epitaxy