planning permission and building control