Resonances in a single thin dielectric layer: enhancement of the Goos - Hänchen shift