The U.K.'s main political parties are mired in crisis following the country's unprecedented decision to leave the EU.