Highly charged ions from rare gas and metal clusters in intense laser fields