Resonance phenomena in the interaction of fast neutrons with beryllium and aluminium