Sweden parliament confirms first female PM