Spring bean scopes (Singleton and Prototype) with example