Twisted Blanchfield pairings and Casson-Gordon invariants