Greece's former prime minister Lucas Papademos was injured when an explosive device hidden in an envelope detonated inside his car in central Athens.