Extensions, crossed modules and internal categories in categories of groups with operations