The prediction and orientation of $\alpha$-helices from sequence alignments: the combined use of environment-dependent substitution tables, Fourier transform methods and helix capping rules