Bernard Tomic booked his place in the third round at Wimbledon with a 6-3 6-4 7-5 victory over American James Blake.