How to strengthen the connection between research and teaching in undergraduate university education