A practical formulation of the image rule for electromagnetic spherical wave sources above a PEC or PMC plane interface