Julian Alaphilippe outsprinted fellow breakaway rider Bauke Molema to follow up his polka dot success at the Tour de France with victory at Clasica San Sebastian.