Thirty-eight people have been killed when an Azerbaijani plane crashed near the city of Aktau in Kazakhstan, officials said.