Development of a framework for real time earthquake loss estimation for Portugal