Spanish GP: Hamilton edges Vettel