γ-ray production in young open clusters: Berk 87, Cyg OB2 and Westerlund 2