A vielbein formulation of unified Einstein-Maxwell theory