A survey of ambulance staff across the UK revealed a "grim picture" of patients waiting hours in the back of ambulances.