Lateral motion and interaction of gas bubbles growing over spherical and plate heaters