Explain how the source regions and pathways of two contrasting maritime air masses can cause extreme weather events in the UK.