Branching fractions and CP asymmetries in B0 -> K+ K- K0S and B+ -> K+ K0S K0S