How to fetch record type information of an SObject using Apex