A graph theory based methodology for optimal PMUs placement and multiarea power system state estimation