Isogeometric analysis with local adaptivity based on a posteriori error estimation for elastodynamics