Middlesbrough scored goals either side of a Brighton penalty miss to leave the Amex Stadium with a 2-0 victory.