Ellipsometric-spectroscopy of films formed on metals in solution