Plans for a £21m mixed-use development of a former bus depot site in Wolverhampton city centre have been approved.