A shooting at a birth control clinic in the US state of Colorado has killed three people, including a police officer.