L2-Betti numbers of mapping tori and groups