Planar-channeling radiation from MeV electrons in diamond and silicon