Homeowner shoots naked woman who broke into his home, beat him with pan, authorities say