Federer confident but cautious in Hopman Cup return