Electric railroad crossing