Heineken has bought a minority stake in London brewery Beavertown.