How to perform the different types of SQL-JOINs in R using data.table