Prototyping production and analysis frameworks for LHC experiments based on LCG/EGEE/INFN-Grid middleware