Direct contact heat transfer with phase change: Bubble growth and collapse