Islamic State said that the married couple who killed 14 people in a mass shooting in California were its followers.