Townsend stars in Tour of Britain opener