Analysis of seismic behaviour of an offshore wind turbine with a flexible foundation