BMW has confirmed it will launch a new line of environment-friendly vehicles, including all-electric models, under its own brand.