Goos-Hänchen shifts from absorbing media