Two separate floodlight failures caused Aberdeen's match against Motherwell at Pittodrie to be abandoned.