Man gets heart attack while dancing at wedding