API: Add PeriodIndex.resolution

Add ``resolution`` to ``PeriodIndex`` as ``DatetimeIndex`` has. 

NOTE: Going to use this to calculate common freq in #7670.