Orientational correlations near interfaces. Computer simulations of water and electrolyte solutions in confined environments