Risk-Aware Vulnerability Analysis of Electric Grids from Attacker's Perspective