Evan Ferguson's stunning hat-trick helped Brighton & Hove Albion to a convincing victory against Leicester City.