Generation of fast charged particles and superstrong magnetic fields in the interaction of ultrashort high-intensity laser pulses with solid targets