Tunable dual-band nearly perfect absorption based on a compound metallic grating