A new resonance phenomenon associated with electron transitions in superlattices and single quantum wells