Bitcoin’s monthly losses break records, but history says a turnaround is brewing