Narrowboats’ old diesel engines and solid-fuel stoves pose a risk to people’s health, mayor warns