Photonic Fractals of Dielectric and Metal Media for Electromagnetic Wave Localization