A constrained transport method for the solution of the resistive relativistic MHD equations