The philosophy of quantum mechanics