Nitsche’s method for two and three dimensional NURBS patch coupling