How to convert from octal to decimal in Java