Newcastle produce a dominant display to defeat West Brom and move out of the Premier League bottom three.