Towards large calorimeters based on Lanthanum Bromide or LYSO crystals coupled to silicon photomultipliers: A first direct comparison for future precision physics