British scientist wins $1m prize