Defending champion Roger Federer produced a Wimbledon master-class to win his first round match against Victor Hanescu in just 68 minutes.