Photos: Final day of competition at Rio Olympics