Three people have been killed after two teenage suspects carried out a shooting at an Islamic centre in San Diego, California.