The treadmill test aims to prevent diseases such as