Magnetic field induced Freedericksz transition of a planar aligned liquid crystal doped with metalloporphyrins FeTPPCl, MnTPPCl and ZnTPP