Apple introduces OS X 10.10 and iOS 8