Nearly a third of businesses were lossmaking last year as rising costs and volatile weather hit household income