Agne Swerin, professor i kemiteknik