dc machines construction and types