Prime Minister Boris Johnson’s Conservatives have made a net gain of 47 seats in Britain’s national election with just two seats left to declare.