Construction of Steiner quadruple systems having a prescribed number of blocks in common