To your Mam, Daddy, brothers and sisters, your friends;
ただいま is the correct choice.
To your boss, your tutor, your teacher, your host/hostess;
ただいま帰りました is the correct choice.
If you stay in your host family, ただいま帰りました seems better, for the time being.
After you get quite familiar with the host family members, then ただいま becomes natural.
ただいま帰りました is more formal and polite expression.
ただいま is colloquial expression, which is used to your family member, and close friends.