Macroscopic quantum bound states and Josephson effect in Bose-Einstein condensates in optical lattices