Brentford beat Fulham comfortably, extending their unbeaten run in London derbies to 11 and equalling a club record.