Moiré engineering in van der Waals heterostructures