Markey beats Lynch, will face Gomez in June Senate special election