Competency trial underway for man charged with capital murder