Pfizer posts losses, but CEO is hopeful for future