Bismuth doping of silicon compatible thin films for telecommunications and visible light emitting devices