Man charged with firing shots outside Calif. mall