Efficient integral formulations in electromagnetics