Bitcoin mining firm Riot Platforms has reported a substantial increase in its second-quarter net loss,