Explain with the help of a labelled ray diagram, why a pencil partly immersed in water appears to be bent at the water surface. State whether the bending of pencil will increase or decrease if water is replaced by another liquid which is optically more dense than water. Give reason for your answer.