An isogeometric collocation approach for Bernoulli-Euler beams and Kirchhoff plates