A mixed integer SDP approach for the optimal placement of energy storage devices in power grids with renewable penetration