Matched interface and boundary (MIB) method and its applications to implicit solvent modeling of biomolecules