A former headteacher who defrauded two schools of more than £15,000 has been banned from the profession.