Klein-Gordon-Maxwell systems in a bounded domain