Detailed investigations of shower formation in Ge- and W-crystals traversed by 40–287 GeV/c electrons