Self-defense with guns is effective, study says