Dynamics of structures : theory and aplications to earthquake engineering