At least 11 people were killed and 24 wounded in a gun and suicide attack at a court complex in the heavily-secured Pakistani capital Islamabad, police said.