The influence of knowledge and skills on self-efficacy in using ChatGPT for mathematics instruction