A new unified theory of electromagnetic and gravitational interactions